package com.example.springboot.pojo;

import cn.hutool.core.date.DateTime;

import java.sql.Timestamp;
import java.time.LocalDateTime;

public class Notice {
    private Integer id;
    private String tittle;
    private String type;
    private String content;
    private Integer status;
    private String time;


    public Notice() {
    }

    public Notice(Integer id, String tittle, String type, String content, Integer status, String time) {
        this.id = id;
        this.tittle = tittle;
        this.type = type;
        this.content = content;
        this.status = status;
        this.time = time;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return tittle
     */
    public String getTittle() {
        return tittle;
    }

    /**
     * 设置
     * @param tittle
     */
    public void setTittle(String tittle) {
        this.tittle = tittle;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    public String toString() {
        return "Notice{id = " + id + ", tittle = " + tittle + ", type = " + type + ", content = " + content + ", status = " + status + ", time = " + time + "}";
    }
}
